package com.my.crypto;

import cn.hutool.crypto.digest.DigestUtil;


/**
 * @author: marshal
 * @date: 2021-11-09 10:01 AM
 */
public class MD5Test {
    public static void main(String[] args) {
        String s1 = "hello world";
        String p1 = DigestUtil.md5Hex(s1);
        String p2 = DigestUtil.md5Hex("SuperAdmin");
        System.out.println(p1);
        System.out.println(p2);
        System.out.println(p1.equals("5eb63bbbe01eeed093cb22bb8f5acdc3"));

    }
}
